<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="x-ua-compatible" content="ie=7" />
        <title>{$title}</title>
        <link href="{:C('WEB_URL')}Public/admin/style/base.css" rel="stylesheet" type="text/css" />
        <link href="{:C('WEB_URL')}Public/admin/style/master.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="{:C('WEB_URL')}Public/admin/js/jquery1.9.1.js"></script>
        <script type="text/javascript" src="{:C('WEB_URL')}Public/admin/js/base.js"></script>
        <script type="text/javascript" src="{:C('WEB_URL')}Public/admin/My97/WdatePicker.js"></script>
    </head>
    <body>
        <div id="wrapper">
            <h2>{$title}卡券<a href="{:U('index', array('sp' =>$nowPage))   }">返回</a></h2>
            <form action="{:U('save') }" method="post" enctype="multipart/form-data" id="myform">
    
            
                <table class="form" >
                
                        
            <input type="hidden" name ='sp'  value=<?php echo $nowPage ?>  />
            
                     <tr>
                        <td class="tkey">类型名称:</td>
                        <td>
							<select name='coupon_type_id' style="width:150px;">
                            <volist name="list" id="vo">
							<option >次数卡</option>
                            </volist>
							</select>
						</td>
                    </tr>
                    <tr>
                        <td class="tkey">卡券名称:</td>
                        <td><input type="text" name="coupon_name" value="{$data['coupon_name']}" class="inputText" style='width:400px;' /></td>
                    </tr>
                     <tr>
                        <td class="tkey">原价(元):</td>
                        <td><input  type="text" name="price" value="{$data['price']}" class="inputText" /></td>
                    </tr>
                  
                     <tr>
                        <td class="tkey">卡券次数(次):</td>
                        <td><input  type="text" name="count" value="{$data['count']}" class="inputText" /></td>
                    </tr>
                      <tr>
                        <td class="tkey">折扣价(元):</td>
                        <td><input  type="text" name="new_price" value="{$data['new_price']}" class="inputText" /></td>
                    </tr>
                    <tr>
                        <td class="tkey w160">卡券小图:</td>
						<td>
							<?php if($data['small_logo']){ ?>
							<img src="{:C('WEB_URL')}{$data['small_logo']}" style="width:50px">
							<?php }else{ ?>
							请上传图片
							<?php } ?>
							<input type="file" name="file1"  />
						</td>
                    </tr>
                    <tr>
                        <td class="tkey w160">卡券大图:</td>
						<td>
							<?php if($data['big_logo']){ ?>
							<img src="{:C('WEB_URL')}{$data['big_logo']}" style="width:50px">
							<?php }else{ ?>
							请上传图片
							<?php } ?>
							<input type="file" name="file2"  />
						</td>
                    </tr>
					<tr>
                        <td class="tkey">开始日期:</td>
                        <td><input type="date" name="start_use_time" value="{$data['start_use_time']}" class="inputText" /></td>
                    </tr>
                      <tr>
                        <td class="tkey">结束日期:</td>
                        <td><input type="date"  name="end_use_time" value="{$data['end_use_time']}" class="inputText" /></td>
                    </tr>
                  
					<tr>
                        <td class="tkey">温馨提示:</td>
                        <td><textarea name="tishi" style="width:180px;height:100px;">{$data['tishi']}</textarea></td>
                    </tr>
                    <tr>
                        <td class="tkey">规则提醒:</td>
                        <td><textarea name="des" style="width:180px;height:100px;">{$data['des']}</textarea></td>
                    </tr>
                    <tr>
                        <td class="tkey">&nbsp;</td>
						<input type="hidden" name ='coupon_id' value="{$data['coupon_id']}">
						

						
						

                        <td><input type="submit" value="确定" class="btnOrange" /></td>
                    </tr>
                </table>
            </form>
        </div>
       
        <style>
            .picList li{float:left;margin:0 10px;}
            .picList li a{display:block;text-align:center;color:#f60}
        </style>


</body>
</html>